package org.richie144.ext4.ajax.domain;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 
 * 
 * 项目名称：ext4-panel-ajax
 * 类名称：Emp
 * 类描述：员工实体
 * 创建人：任欢
 * 创建时间：2012-8-23 下午1:10:58
 * 修改人：任欢
 * 修改时间：2012-8-23 下午1:10:58
 * 修改备注：
 * @version 
 *
 */
public class Emp implements Serializable {
	
	private static final long serialVersionUID = 201589658L;
	/**
	 * 员工编号
	 */
	private Integer empno;
	
	/**
	 * 员工姓名
	 */
	private String ename;
	
	/**
	 * 工作职位
	 */
	private String job;
	/**
	 * 直接上司编号
	 */
	private int mgr;
	/**
	 * 入职时间
	 */
	private Timestamp hiredate;
	/**
	 * 工资
	 */
	private double sal;
	/**
	 * 奖金
	 */
	private double comm;
	/**
	 * 所属部门编号
	 */
	private int deptno;
	
	public Emp() {
		
	}

	public Emp(Integer empno, String ename, String job, int mgr,
			Timestamp hiredate, double sal, double comm, int deptno) {
		this.empno = empno;
		this.ename = ename;
		this.job = job;
		this.mgr = mgr;
		this.hiredate = hiredate;
		this.sal = sal;
		this.comm = comm;
		this.deptno = deptno;
	}

	public Integer getEmpno() {
		return empno;
	}

	public void setEmpno(Integer empno) {
		this.empno = empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public int getMgr() {
		return mgr;
	}

	public void setMgr(int mgr) {
		this.mgr = mgr;
	}

	public Timestamp getHiredate() {
		return hiredate;
	}

	public void setHiredate(Timestamp hiredate) {
		this.hiredate = hiredate;
	}

	public double getSal() {
		return sal;
	}

	public void setSal(double sal) {
		this.sal = sal;
	}

	public double getComm() {
		return comm;
	}

	public void setComm(double comm) {
		this.comm = comm;
	}

	public int getDeptno() {
		return deptno;
	}

	public void setDeptno(int deptno) {
		this.deptno = deptno;
	}
	
	

}
